package com.ruoyi.swimming.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.swimming.domian.CourseCoach;

import java.util.List;

/**
 * 教练Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface CourseCoachMapper extends BaseMapper<CourseCoach>
{
    /**
     * 查询教练
     * 
     * @param id 教练ID
     * @return 教练
     */
    public CourseCoach selectCourseCoachById(Long id);

    /**
     * 查询教练列表
     * 
     * @param courseCoach 教练
     * @return 教练集合
     */
    public List<CourseCoach> selectCourseCoachList(CourseCoach courseCoach);

}
